home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1994 July / PSL Monthly Shareware CD-ROM (Public Software Library) (July 1994).iso / pastnews / news9406.vws < prev    next >
Text File  |  1994-05-09  |  7KB  |  155 lines

  1.  
  2. =====News & Views <psl_logo.pcx>
  3.  
  4.  
  5. -----Programming Returns
  6.  
  7.  
  8. Programming Returns
  9.  
  10. Last December, we began putting a different section of PsL's
  11. disk-based library on our Monthly CD-ROM, starting with Pro-
  12. gramming. The six-month cycle is now complete, having fol-
  13. lowed Programming with Games, Business & Communications,
  14. Home & Education, Utilities, and Words & Graphics & Sounds.
  15.  
  16. We will now continue to repeat these sections on the Monthly
  17. CDs, updated for the thousands of programs received during the
  18. intervening six months.
  19.  
  20. For the record, we continue to think of these as Bonus Sec-
  21. tions because the PsL Monthly CD is intended and priced as eco-
  22. nomical way for people to get all the new programs that come out
  23. each month which pass our testing (800-900+ programs, nor-
  24. mally), and this includes programs of all types for DOS and Win-
  25. dows, not just the featured Bonus Section for the month.
  26.  
  27. New Low-Cost Programming Disk Sets:
  28.  
  29. We are starting a new type of service this month for the bene-
  30. fit of people who want a lot of software at a low price but who do
  31. not have CD-ROM drives. You can get all of the programs in any
  32. of the Programming sections for $39.95.
  33.  
  34. For example, the BASIC Programming section has over 80
  35. disks containing hundreds of files. At our regular disk fees, these
  36. would cost over $400. Now you can get all the BASIC Program-
  37. ming disks for less than one-tenth the regular cost. The same
  38. offer applies for Assembler, C, Pascal, and the other sections in
  39. Programming. For a complete list of the disks in these (and other)
  40. sections, get the PsL Reviews Disks.
  41.  
  42. Learning to Program:
  43.  
  44. We have software for learning to program in all the major lan-
  45. guages. Disk #12457 is a C Tutor and #12458, a C++ Tutorial.
  46. MegaDisk Set #27704 contains another C++ Tutorial. (NOTE:
  47. Tutorials for a compiler usually assume that you already have the
  48. compiler.)
  49.  
  50. Assembly language students should get set #27052, five dif-
  51. ferent programs for learning assembler. Disk #4744 will teach
  52. you BASIC and #12462 teaches Pascal, including Object Ori-
  53. ented Programming. Visible Pascal (#0254) is a programming
  54. language written for people wanting to learn Pascal.
  55.  
  56. Tutorials for other programming languages include ADA
  57. (MegaDisk Set #27705), ANSI-Standard Cobol (#3177), and
  58. Modula-2 (MegaDisk Set #27056, a four-disk set which includes
  59. a Modula-2 compiler).
  60.  
  61. Compilers & Interpreters:
  62.  
  63. Programming normally consists of writing code in a text edi-
  64. tor and using a compiler to convert the "source" code from
  65. English statements to machine code the computer can under-
  66. stand. The translated (compiled) code is stored in a file with an
  67. EXE or COM extension, which can be run from the DOS prompt
  68. without any further need for the language's compiler.
  69.  
  70. An interpreter does not create a COM or EXE file. Every time
  71. you run the program, the interpreter translates the source code
  72. into machine code which it feeds to the CPU to execute. This is
  73. not only slower, but makes it more difficult to distribute your
  74. software since the receipient(s) may not have the interpreter you
  75. used. One exception is QBASIC, which is an interpreter that
  76. comes with the current versions of DOS.
  77.  
  78. Normally, you will prefer to use a compiler instead of an
  79. interpreter, unless you are programming strictly for your own
  80. benefit or as a way of learning the language.
  81.  
  82. Most compilers, such as Visual Basic for DOS, have a pro-
  83. gramming environment in which you can write code (instead of
  84. using a separate text editor) and run the code to test it without
  85. having to compile it first.
  86.  
  87. Frankly, while you may want to test the waters with a public
  88. domain or shareware compiler for C or Basic or Pascal, these
  89. cannot really compare to the power and features of retail-only
  90. compilers from Microsoft, Borland, etc.
  91.  
  92. Programming Routines and Libraries:
  93.  
  94. One are of Programming shareware that can help you be very
  95. productive are the routines and programming libraries.
  96.  
  97. Routines are bits of source code in the language of your
  98. choice which accomplish some task such as sorting data or read-
  99. ing a disk directory. All you have to do is add this code to your
  100. own source code. This beats investing the time to develop the
  101. code yourself, yet studying the routines can help you learn the
  102. tricks of the trade and you may find ways to improve them.
  103.  
  104. Source code routines normally perform a single function, are
  105. frequently public domain or freeware and don't require payment
  106. for using them. Libraries of routines usually include dozens of
  107. routines which have been compiled into a single library file
  108. which can be combined with your code during compilation.
  109.  
  110. Unless the author of library has also included the source code,
  111. which usually is NOT the case, you cannot study nor modify the
  112. code for the library file.
  113.  
  114. Because libraries are more extensive than simple routines and
  115. require much more work and expertise to develop, they are usu-
  116. ally shareware and require payment to the author to use. Many
  117. programmers offer the source code to people who register.
  118.  
  119. An example of a library is TechnoJock's Object Toolkit (for
  120. Turbo Pascal; #27469). It is actually a collection of "objects" for
  121. object-oriented programming, but the principle is the same. You
  122. can add objects to your code for displaying and managing pop-up
  123. windows, for creating program menus, for performing directory
  124. and file selection, and much more.
  125.  
  126. In fact, with an extensive collection of routines, libraries, or
  127. objects, you can reduce your programming to developing a con-
  128. cept or working out algorithms specific to your application and
  129. bypass most of the time consuming, nuts-and-bolts programming
  130. by popping in the appropriate routines.
  131.  
  132. Programming Tools:
  133.  
  134. There are pop-up reference tools of every type - for ASCII
  135. and ANSI codes, color charts, Hex calculators, base conversion
  136. tools, debuggers, etc.
  137.  
  138. Screen designers make it easy to lay out text-based screens for
  139. which the software spits out code to add to your program to recre-
  140. ate the screen(s). There are also sprite drawing utilities which let
  141. you draw small graphics characters for animated games.
  142.  
  143. Flowcharters, version control utilities, variable cross-refer-
  144. ence utilities, overlay managers, code librarians, and source code
  145. formatters all help keep your code well structured and organized.
  146.  
  147. Once you have completed your program and are ready to dis-
  148. tribute it, you will find numerous utilities in PsL for creating soft-
  149. ware installation programs.
  150.  
  151. In short, you can find an abundance of routines and tools in
  152. PsL to make programming easier and more professional.
  153.  
  154.  
  155.